package com.ctgu.fastleader.dao;

import com.ctgu.fastleader.vo.WareHouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WareHouseMapper {
    int deleteByPrimaryKey(Integer houseid);

    int insert(WareHouse record);

    int insertSelective(WareHouse record);

    WareHouse selectByPrimaryKey(Integer houseid);

    int updateByPrimaryKeySelective(WareHouse record);

    int updateByPrimaryKey(WareHouse record);

    Integer selectHouseIdByHouseName(String housename);

    List<String> findAllWarehouseName();

    List<WareHouse> findAllWarehouse();

    String selectHouseInfoByHouseName(String housename);
}